<template>
  <div class="navBox" :style="{ background: bg }">
    <div class="navBox-title" :style="titleStyle">
      {{ title }}
    </div>
  </div>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
    },
    bg: {
      type: String,
      default: "#FFFFFF",
    },
    titleStyle: {
      type: String,
    },
  },
  data() {
    return {};
  },
};
</script>
<style lang="less" scoped>
.navBox {
  display: flex;
  height: 40px;
  width: 100%;
  justify-content: center;
  align-items: center;
}
</style>
